﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Account.aspx.cs" Inherits="Account" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="Server">
    <div id="content">
        <div class="one">
            <div class="one-fourth">
                <ul class="simple-nav">
                    <li><a class="current">Avatar</a></li>
                    <li><a href="ChangePassword.aspx">Password</a></li>
                </ul>
            </div>
            <div class="inner-content last">
                <div class="two-thirds">
                    <form method="post" runat="server" id="login_form">
                    <h3>
                        Select a new Avatar:
                    </h3>
                    <asp:Label ID="Label1" runat="server" Text="Label">Current Avatar: </asp:Label>
                    <asp:Image ID="img1" runat="server" Height="50px" ImageUrl=''></asp:Image>
                    <br />
                    <br />
                    <asp:FileUpload ID="upload_file" runat="server" />
                    <br />
                    <br />
                    <asp:Button ID="Upload" runat="server" Text="Upload" OnClick="Button1_Click" class="button medium blue" />
                    <br />
                    <asp:RegularExpressionValidator ID="revImage" ControlToValidate="upload_file" ValidationExpression="^.*\.((b|B)(m|M)(p|P)|(j|J)(p|P)(e|E)?(g|G)|(g|G)(i|I)(f|F)|(p|P)(n|N)(g|G))$"
                        Text=" Invalid image type !" runat="server" />
                        <br />
                    <asp:TextBox ID="Result" runat="server" class="text requiredField error" ReadOnly="True"
                        TextMode="SingleLine" BorderColor="White" Font-Bold="False" ForeColor="Red" ></asp:TextBox>
                    </form>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
